<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>Welcome</title>
<s:head/>
</head>

<body>
	<div id="functionLabel">
		<p>Edit user</p>
	</div>
	
	<div id="insForm">
	<s:actionerror />
		<s:form action="doEditUser" method="post" validate="true">
			<s:hidden name="user.id"/>
			<s:hidden name="user.username"/>
			<s:textfield key="manageruser.username" value="%{user.username}" disabled="true" size="20"/>
			<s:textfield name="user.password" key="manageruser.password" size="20"/>
			<s:textfield name="user.fullName" key="manageruser.fullName" size="20" />
			<s:textfield name="user.department" key="manageruser.department" size="20" />
			<s:checkbox cssClass="ckbox" name="user.isAdmin" key="manageruser.isAdmin"></s:checkbox>
			<s:submit cssClass="button" method="user.execute" key="manageruser.editUser" align="center" />
		</s:form>
	</div>
</body>